using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using DAL;
using DTO;
using BUS;
using Utility;

public partial class admin_A_Themungvien : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btn_Add_Click(object sender, EventArgs e)
    {
         try
        {
            ThongTinTuyenDung_DTO tuyendung = new ThongTinTuyenDung_DTO();
            tuyendung.ViTri_TuyenDung = txt_vitri.Text;
            tuyendung.YeuCau = txt_yeucau.Text;
            tuyendung.Luong = txt_luong.Text;
            tuyendung.ThoiGian_Nop_HoSo = DateTime.Parse(thoigian.SelectMonthText);
            //tuyendung.ThoiGian_Nop_HoSo = thoigian .ToString();

            ThongTinTuyenDung_BUS.Insert(tuyendung);
        }
        catch (Exception ex)
        {
        }
        Response.Redirect("~/admin/A_thongtintuyendung.aspx");
    }
    }
}
